<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<base href="http://localhost:8080/Barbr/">
		<title>个人信息</title>
	</head>
	<body>
	<div class="layui-body" style="text-align: center">
		<!-- 内容主体区域 -->&nbsp;
		<div style="padding: 15px;">
			<div id="infromation">
				<h2>基本信息</h2><hr/>
				<label>姓名&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" maxlength="10" value="${sessionScope.customer.username}"  id="username2" name="username" disabled ></label><br/>
				<label>注册时间<input type="text" maxlength="10" value="${sessionScope.customer.registtime}" id="RegistrationTime" name="RegistrationTime" disabled></label>
				<form action="resetPwd" method="post" target="_top">
					<h2 style="margin-top: 1em;">修改密码</h2><hr/>
					<label>手机号&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="tellphone" maxlength="11" autofocus required onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"></label><br/>
					<label>新密码&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="password" name="newpwd" maxlength="16" minlength="6" required onkeyup="value=value.replace(/[\u4e00-\u9fa5]/ig,'')"></label><br/>
					<label>确认新密码<input type="password" name="againpassword" maxlength="16" minlength="6" required onkeyup="value=value.replace(/[\u4e00-\u9fa5]/ig,'')"></label><br/>
					<button type="submit" style="width: 10%; margin:1.2em auto;">提交</button>
					<button type="reset"style="width: 10%; margin:1.2em auto; margin-left: 1.5em;">重置</button>
				</form>
			</div>
		</div>
	</div>
	</body>
</html>
